// userinfo/myinfo.js
  const app = getApp()

  Page({
    data: {
      id:'',
      sex:"",
      class:1,
      tel:'',
      userInfo: {}
    },
    //事件处理函数
    bindViewTap: function() {
      wx.navigateTo({
        url: '../logs/logs'
      })
    },
    onShow: function () {
      this.setData({
        userInfo: wx.getStorageSync('user'),
        hasUserInfo: true
      })
    },
  })
  